package cn.framelife.rainbow.db.entity;

import java.util.List;


/**
 * Spring配置文件所需要的参数
 * 
 * @author 潘广伟 p_3er@qq.com
 * @date 2013-12-9 下午7:55:45
 */
public class SpringProperty {
	/**
	 * 配置文件的完整路径+文件名
	 */
	private String path;
	/**
	 * 将要扫描的类路径
	 */
	private String scanPackage;
	/**
	 * 数据库连接参数
	 */
	private ConnectionProperty connectionProperty;
	/**
	 * 方言
	 */
	private String dialect;
	/**
	 * 配置的实体类
	 */
	private List<String> annotatedClasses;
	/**
	 * Service层的路径（用以配置事务）
	 */
	private String servicePackage;

	public String getScanPackage() {
		return scanPackage;
	}

	public void setScanPackage(String scanPackage) {
		this.scanPackage = scanPackage;
	}

	public ConnectionProperty getConnectionProperty() {
		return connectionProperty;
	}

	public void setConnectionProperty(ConnectionProperty connectionProperty) {
		this.connectionProperty = connectionProperty;
	}

	public String getDialect() {
		return dialect;
	}

	public void setDialect(String dialect) {
		this.dialect = dialect;
	}

	public List<String> getAnnotatedClasses() {
		return annotatedClasses;
	}

	public void setAnnotatedClasses(List<String> annotatedClasses) {
		this.annotatedClasses = annotatedClasses;
	}

	public String getServicePackage() {
		return servicePackage;
	}

	public void setServicePackage(String servicePackage) {
		this.servicePackage = servicePackage;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

}
